-
Notifications
You must be signed in to change notification settings - Fork 38.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync client-go – third try #40732
Sync client-go – third try #40732
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED The following people have approved this PR: sttts Needs approval from an approver in each of these OWNERS Files: We suggest the following people: |
4dc61f1
to
fd703c9
Compare
@@ -23,10 +23,9 @@ source "${KUBE_ROOT}/cluster/lib/util.sh" | |||
|
|||
# Excluded checks are always skipped. | |||
EXCLUDED_CHECKS=( | |||
"verify-linkcheck.sh" # runs in separate Jenkins job once per day due to high network usage | |||
"verify-govet.sh" # it has a separate make vet target | |||
"verify-staging-client-go.sh" # TODO: enable the script after 1.5 code freeze |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thsi has to stay excluded. cycle
|
@@ -72,3 +72,16 @@ godep restore ${V} 2>&1 | sed 's/^/ /' | |||
|
|||
echo "Testing staging/copy.sh" | |||
staging/copy.sh -d 2>&1 | sed 's/^/ /' | |||
|
|||
# Check that the apimachinery Godeps revision is actually in Github | |||
echo "Checking that a valid k8s.io/apimachinery is reference in client-go" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary. This is always the case unless you do something insane and manual to your godeps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's the point: due to the cycle during development we will do insane things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea: hack/update-client-go.sh -s
.
This gives you a client which has no valid apimachinery upstream rev, but works great for WIP PRs.
|
||
# Create a temporary GOPATH for apimachinery and client-go, copy the current master into each and turn them | ||
# into a git repo. Then we can run copy.sh with this additional GOPATH. The Godeps.json will | ||
# have invalid git SHA1s, but it's good enough as a smoke test of copy.sh. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why would we do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make sure copy.sh is working?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how do you run godep without a real repo?
fd703c9
to
a168431
Compare
@k8s-bot kubemark e2e test this |
Automatic merge from submit-queue (batch tested with PRs 38772, 38797, 40732, 40740) |
Follow-up of #40692 & #40699.
Approval and lgtm from #40692.